package com.nicole.exception;

import lombok.Getter;

@Getter
public enum ExceptionEnum {

    TIME_OUT(411,"超时操作"),
    /**
     * 系统内部错误
     */
    SYS_ERROR(500, "系统内部错误");

    private final Integer code;
    private final String message;

    ExceptionEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
